﻿namespace DataBaseTools
{
    public class Entity
    {
        /// <summary>
        /// 字段名称
        /// </summary>
        public string fieldName { get; set; }

        /// <summary>
        /// 字段备注
        /// </summary>
        public string fieldComment { get; set; }

        /// <summary>
        /// 字段类型
        /// </summary>
        public FieldTypeEnum fieldType { get; set; }

        /// <summary>
        /// 字段长度
        /// </summary>
        public int fieldLength { get; set; }

        /// <summary>
        /// 字段精度(小数位)
        /// </summary>
        public int fieldPrecision { get; set; }

        /// <summary>
        /// 是否为null
        /// </summary>
        public bool IsNull { get; set; }

        /// <summary>
        /// 默认值
        /// </summary>
        public string defaultValue { get; set; }
    }
}
